package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperOrderWithdrawals implements Serializable {
    /**
     * ID
     */
    private Integer id;

    /**
     * 用户电话标志
     */
    private String userphone;

    /**
     * 充值账户
     */
    private String recharge;

    /**
     * 充值金额
     */
    private Double money;

    /**
     * 提现申请时间
     */
    private Date time;

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    public Integer getId() {
        return id;
    }

    /**
     * ID
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 用户电话标志
     */
    public String getUserphone() {
        return userphone;
    }

    /**
     * 用户电话标志
     */
    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    /**
     * 充值账户
     */
    public String getRecharge() {
        return recharge;
    }

    /**
     * 充值账户
     */
    public void setRecharge(String recharge) {
        this.recharge = recharge;
    }

    /**
     * 充值金额
     */
    public Double getMoney() {
        return money;
    }

    /**
     * 充值金额
     */
    public void setMoney(Double money) {
        this.money = money;
    }

    /**
     * 提现申请时间
     */
    public Date getTime() {
        return time;
    }

    /**
     * 提现申请时间
     */
    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userphone=").append(userphone);
        sb.append(", recharge=").append(recharge);
        sb.append(", money=").append(money);
        sb.append(", time=").append(time);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperOrderWithdrawals other = (SuperOrderWithdrawals) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUserphone() == null ? other.getUserphone() == null : this.getUserphone().equals(other.getUserphone()))
            && (this.getRecharge() == null ? other.getRecharge() == null : this.getRecharge().equals(other.getRecharge()))
            && (this.getMoney() == null ? other.getMoney() == null : this.getMoney().equals(other.getMoney()))
            && (this.getTime() == null ? other.getTime() == null : this.getTime().equals(other.getTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUserphone() == null) ? 0 : getUserphone().hashCode());
        result = prime * result + ((getRecharge() == null) ? 0 : getRecharge().hashCode());
        result = prime * result + ((getMoney() == null) ? 0 : getMoney().hashCode());
        result = prime * result + ((getTime() == null) ? 0 : getTime().hashCode());
        return result;
    }
}